<aside class=""><div>
        <section class="widget"><ul>

            <div>
            {if $moduletitle || $first_item != 0}
            <h1>
                {if $first_item != 0}
                {$first_item->name}
                {else}
                {$moduletitle}
                {/if}
            </h1>
            {/if}
            {permissions level=$smarty.const.UILEVEL_NORMAL}
            {if $permissions.configure == 1 || $permissions.administrate == 1}
            <li>
                {include file="`$smarty.const.BASE`modules/common/views/_permission_icons.tpl"}
            </li>
            {/if}
            {/permissions}
            {foreach name=links from=$links item=link}
            {math equation="x-1" x=$link->rank assign=prev}
            {math equation="x+1" x=$link->rank assign=next}
            <li>
                <a title="{$link->description}" alt="{$link->description}" href="{$link->url}"{if $link->opennew == 1} target="_blank"{/if} >{$link->name}</a>
            </li>
            {foreachelse}
            <li align="center"><i>{$_TR.no_link}</i></li>    
            {/foreach}
        </ul>
        <div class="actions">
            {permissions level=$smarty.const.UILEVEL_NORMAL}
            {if $permissions.create == 1}
            <a href="{link action=manage}" class="add">{$_TR.manage}</a>
            {/if}
            {/permissions}

</div>
    </section>                   
     </div>
    </aside>
                                 
